package com.schoolcloud.common.exception;

/**通用异常常量
 * @author hongmizfb
 * @date 2025/01/20
 * 11:用户模块
 */
public enum BizCodeEnum {
    USER_EXIST_EXCEPTION(11001,"用户存在"),
    PHONE_EXIST_EXCEPTION(11002,"手机号存在")
    ;
    private int code;
    private String msg;
    ;

    BizCodeEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
